function redarr(arr) {
    arr = [...new Set(arr)].sort();
    var o = {}
    for (var i = 0; i < arr.length; i++) o[i] = arr[i]
    return o;
}
redarr(["BBC1", "BBC1", "BBC2", "MTV"])